<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Installation</title>
<link rel="stylesheet" type="text/css" href="styles.css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="index.html" title="SPADE User's Manual">
<link rel="up" href="spade.quickstart.html" title="Chapter 2. Quickstart Guide">
<link rel="prev" href="spade.quickstart.requirements.html" title="Requirements">
<link rel="next" href="spade.fundamental.html" title="Chapter 3. Fundamental Concepts">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr><th colspan="3" align="center">Installation</th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="spade.quickstart.requirements.html">Prev</a> </td>
<th width="60%" align="center">Chapter 2. Quickstart Guide</th>
<td width="20%" align="right"> <a accesskey="n" href="spade.fundamental.html">Next</a>
</td>
</tr>
</table>
<hr>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="spade.quickstart.installation"></a>Installation</h2></div></div></div>
<p>The best way to install SPADE is using the easy installer from the Python Package Index. You can install SPADE with easy_install or pip:</p>
<pre class="screen">

	pip install SPADE
	</pre>
<p>or</p>
<pre class="screen">

	easy_install SPADE
	</pre>
<p> If you want to install the platform from source grab the SPADE deliverable package at <a class="ulink" href="http://spade2.googleprojects.com" target="_top">http://spade2.googleprojects.com</a> or from the Python Package Index <a class="ulink" href="http://pypi.python.org/pypi/SPADE" target="_top">http://pypi.python.org/pypi/SPADE</a>. Uncompress it and launch the <span class="command"><strong>setup.py</strong></span> script with the <span class="command"><strong>install</strong></span> parameter.</p>
<pre class="screen">
$ tar xvzf SPADE-2.1.tar.gz
$ cd spade
$ python setup.py install
</pre>
<p>Once you have succesfully installed SPADE run the <span class="command"><strong>configure.py</strong></span> script in order to configure the platform. You can provide a parameter to this script, which is the machine's hostname and that will be used as the platform's name. Finally, launch the <span class="command"><strong>runspade.py</strong></span> script and see your platform rise before your eyes. After a few seconds you should see the green word <span class="command"><strong>Done</strong></span> on the screen confirming that the platform was succesfully launched. In a nutshell:</p>
<pre class="screen">
$ configure.py myhost.myprovider.com
$ runspade.py
</pre>
<p>And that's it. If everything went well, congratulations! You have succesfully installed SPADE! If something went wrong, don't panic!, head to chapter XXX "FAQ and Troubleshooting" for answers or follow the rest of this manual to know a lot more about SPADE.</p>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="spade.quickstart.requirements.html">Prev</a> </td>
<td width="20%" align="center"><a accesskey="u" href="spade.quickstart.html">Up</a></td>
<td width="40%" align="right"> <a accesskey="n" href="spade.fundamental.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">Requirements </td>
<td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
<td width="40%" align="right" valign="top"> Chapter 3. Fundamental Concepts</td>
</tr>
</table>
</div>
</body>
</html>
